package com.wf.smartcomm.server.service;

import com.wf.smartcomm.server.bean.Merchant;
import com.wf.smartcomm.server.bean.MerchantUser;
import com.wf.smartcomm.server.model.Page;

public interface MerchantUserService {
	void save(MerchantUser merchantUser)throws Exception;
	void update(MerchantUser merchantUser)throws Exception;
	MerchantUser get(String id)throws Exception;
	MerchantUser get(Merchant merchant)throws Exception;
	MerchantUser getByUsername(String username)throws Exception;
	MerchantUser login(String username,String password)throws Exception;
	void list(Page page)throws Exception;
}
